
//
//  BaseCell.m
//  BaseLib
//
//  Created by CPX on 2018/5/21.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "BaseTBCell.h"

/**
 基类TabelCell
 @author yzl
 */
@implementation BaseTBCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (instancetype)cellWithTable:(UITableView *)table{
    static NSString *identifier = @"cell";
    BaseTBCell *cell = [table dequeueReusableCellWithIdentifier:identifier];
    if (!cell) {
        cell = [[self alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        cell.table = table;
    }
    return cell;
}

@end
